<!----------------------------- body ---------------------------------------->
<div id="h_main" class="main_width">
 
    <div class=" boder_radius" style="padding:2px; margin-left:10px;">
        <p style="margin:0px;padding:0px;padding-top:5px;padding-bottom:5px;font:bold 12px arial;color:#222;">Our latest properties</p>
      
    </div>
    <div id="product_view" style="padding-top:0px;">
        <div class="read"><h4><?php echo $Product['product_language']['name'] ?></h4></div>
        <span><b>Property ID</b>: <?php echo $Product['product']['product_id'] ?> (Please use this ID when calling or searching)</span>
        <div id="price">
        	<p>price: <span>$<?php  echo $Product['product']['price'] ?>/month</span></p>
        </div>
        <div id="content_product" >
        	<div id="product_ct_left">
            	<img src="<?php echo $this->webroot.$base_config_url.$Product['product']['image']; ?>" />
            </div>
            <div id="product_ct_right">
            	<h4>Property Information</h4>
                <ul id="product_ul_property">
                    <li>Location: <?php  echo $Product['product']['address'] ?></li>
                    <li>Property Type: <?php  echo $Product['product_type']['name'].' '.__('in').' '.$Product['location']['district'].' '.$Product['location']['city']; ?></li>
                    <?php foreach($Product['property_value'] as $property_type => $val_pro): ?>
                    <?php if($property_type != 'ProductPropertyValueArr'){?>
                            <?php foreach($val_pro as $val_show): ?>
                                    <li><?php echo  $val_show['property_language']?>: <?php echo  $val_show['property_value_language']?></li>
                            <?php endforeach;?>
                    <?php } ?>
                    <?php endforeach;?>
                    
                </ul>
                <h4>Property Information</h4>
                <table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-left:0px;padding-top:15px;padding-bottom:15px;">
                    <tbody>
                        <tr>
                            <td width="100" style="padding-right:10px;"> 
                                <img style="height:70px;" src="<?php echo $this->webroot; ?>images/logo.jpg" alt="Mr. Tran Van Xuyen" border="0" width="100px" height="75px;">
                            </td>
                            <td>
                                <div class="contactdetail">Mr. Tran Van Xuyen</div>
                                <div class="contactdetail1" style="background:url(<?php echo $this->webroot; ?>/images/icon-phone.gif) 0% 50% no-repeat;padding-left:20px">0983 336 336</div>
                                <div class="contactdetail1" style="background:url(<?php echo $this->webroot; ?>/images/icon-email.gif) 0% 50% no-repeat;padding-left:20px"><a href="mailto:rent@hanoirealestate.com.vn">rent@hanoirealestate.com.vn</a></div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="clearBoth"></div>
            

            <!--BEGIN TAB --->
                <ul class="nav nav-tabs">
                    <li class="active"><a href="#home" data-toggle="tab"><?php echo __('Overview')?></a></li>
                    <li><a href="#profile" data-toggle="tab"><?php echo __('Request a showing')?></a></li>
                    <li><a href="#messages" data-toggle="tab"><?php echo __('Send to a friend')?></a></li>
                    <li><a href="#settings" data-toggle="tab"><?php echo __('Map view')?></a></li>
                  </ul>

                  <!-- Tab panes -->
                  <div class="tab-content">
                    <div class="tab-pane active" id="home">
                        <h4>Description</h4>
                        <div class="description_product">
                            <p>
                                <?php echo $Product['product_language']['description']; ?>
                            </p>
                        </div>
                        <!-- BEGIN for PROPERTY ARR -->
                        
                            <?php
                                    if(isset($Product['property_value']['ProductPropertyValueArr'])){
                                    foreach($Product['property_value']['ProductPropertyValueArr'] as $val_property_arr):?>
                                            <div class="property_arr">
                                            <h4><?php echo $val_property_arr['property_language'];?></h4>
                                            <?php foreach($val_property_arr['property_value_language'] as $val):?> 
                                                    <div style="width:30%; float:left;">
                                                             <img src="<?php echo $this->webroot; ?>images/global/yes.png" width="19" height="19">
                                                             <?php echo $val;?>            
                                                    </div>

                                            <?php endforeach;?>
                                            <div class="ClearBoth"></div>
                                            </div>
                                    <?php endforeach;?>
                                    <?php } ?>
                            
                        <!-- END for PROPERTY ARR -->
                    </div>
                    <div class="tab-pane" id="profile">
                        <br/>
                       <p>We specializes in helping the Vietnam’s foreign community with their long- and short-term real estate rental and purchasing needs, including apartments, houses, villas and commercial office space within Ha Noi proper and the surrounding area.</p>
                       <span><i>(*) Please complete the following information!</i></span>
                        <br/>
                       <form action="">
                       <table class="table_form" style="font-size:12px"  width="80%" border="0" align="center" cellpadding="2" cellspacing="0" bordercolor="#dedede" style="border-collapse: collapse">
                            <tbody>
                                    <tr>
                                            <td>Property name:</td>
                                            <td><b>Lake view, serviced apartment in quiet street Tay Ho Hanoi (ID Code: 714)</b></td>
                                    </tr>
                                    <tr>
                                            <td>Your Name:  (*)</td>
                                            <td><input class="class_320pt" type="text" name="name"/></td>
                                    </tr>
                                    <tr>
                                            <td>Your Email:  (*)</td>
                                            <td><input class="class_320pt" type="text" name="email"/></td>
                                    </tr>
                                    <tr>
                                            <td>Mobile Phone Number:</td>
                                            <td><input class="class_320pt" type="text" name="mobile"/></td>
                                    </tr>
                                    <tr>
                                            <td>Other Phone number:</td>
                                            <td><input class="class_320pt" type="text" name="other_number"/></td>
                                    </tr>
                                    <tr>
                                            <td>Contact Preference:</td>
                                            <td>
                                                <input class="radio_fix" type="radio" name="Preference" value="1"/> Phone
                                                <input class="radio_fix" type="radio" name="Preference" value="2"/> Email
                                                <input class="radio_fix" type="radio" name="Preference" value="3"/> Either
                                            </td>
                                    </tr>
                                    <tr>
                                            <td>Contact Time:</td>
                                            <td>
                                                <input class="radio_fix" type="radio" name="time" value="1"/> Moring
                                                <input class="radio_fix" type="radio" name="time" value="2"/> Afternoon
                                                <input class="radio_fix" type="radio" name="time" value="3"/> Night
                                            </td>
                                    </tr>
                                    <tr>
                                            <td>Special Requests or Comments:</td>
                                            <td><textarea  class="class_320pt" name="txtValue07" rows="6"></textarea></td>
                                    </tr>
                                    <tr>
                                        <td></td>
                                        <td><input  class="radio_fix" type="checkbox" name="check"/> Send a copy of this request to my email
                                        </td>
                                    </tr>
                                    <tr>
                                        <td></td>
                                        <td><input tabindex="2" type="button" name="Button" class="button" value="  Send Request  "></td>
                                    </tr>

                            </tbody>
                    </table>
                    </form>
                    </div>
                    <div class="tab-pane" id="messages">
                        <br/>
                       <p>We specializes in helping the Vietnam’s foreign community with their long- and short-term real estate rental and purchasing needs, including apartments, houses, villas and commercial office space within Ha Noi proper and the surrounding area.</p>
                       
                       <form action="">
                       <table class="table_form" style="font-size:12px"  width="80%" border="0" align="center" cellpadding="2" cellspacing="0" bordercolor="#dedede" style="border-collapse: collapse">
                            <tbody>
                                    <tr>
                                            <td>Your Name:  (*)</td>
                                            <td><input class="class_320pt" type="text" name="name"/></td>
                                    </tr>
                                    <tr>
                                            <td>Your Email:  (*)</td>
                                            <td><input class="class_320pt" type="text" name="email"/></td>
                                    </tr>
                                    <tr>
                                            <td>Friend(s) Emails:  (*)</td>
                                            <td><input class="class_320pt" type="text" name="frien_email"/></td>
                                    </tr>
                                    <tr>
                                            <td>Comments:</td>
                                            <td><textarea  class="class_320pt" name="comments" rows="6"></textarea></td>
                                    </tr>
                                    <tr>
                                        <td></td>
                                        <td><input tabindex="2" type="button" name="Button" class="button" value="  Send to Friends!  "></td>
                                    </tr>

                            </tbody>
                    </table>
                    </form>
                    </div>
                    <div class="tab-pane" id="settings">Map view</div>
                  </div>

            <!--END TAB -->
        </div>
    </div>
	<!----- feature ---->
    <div id="h_feature" class="boder_radius" style="margin-bottom:20px;">
        <div id="title_fearture">
            Suggest Other Similar <?php  echo $Product['product_type']['name'].' '.__('in').' '.$Product['location']['district'].' '.$Product['location']['city']; ?>
            <div id="title_fearture_row"></div>
        </div>
        <div style="padding: 0px 9px 10px 9px;">
            <?php foreach($ListProductQuery as $product_list): ?>
				<div class="by_category">
					<img src="<?php echo $this->webroot.$base_config_url.$product_list['product']['image'];?>"/>
					<a><p><?php echo $product_list['product_language']['name']; ?></p></a>
				</div>
            
            <?php endforeach;?>
            <div class="clearBoth"></div>

        </div>
    </div>
    <!----- end feature ---->
</div>
<!------------------------------ end body ------------------------------------->

<style type="text/css">
	#price{
		background: url(<?php echo $this->webroot; ?>images/pricebg.png) no-repeat right;
		text-align: right;
		padding-right: 35px;
		font: bold 13px arial;
		color: #fff;
                height:60px;
	}
	#product_ct_left{
		float:left;
		width:65%;
		
	}
	#product_ct_right{
		float:right;
		width:33%;
		
	}
</style>
<script>
$( "#tabs" ).tabs();
</script>